$ var className = input['class'] || 'app-hello';

<div class=className>
    [app-hello]  Hello ${input.name}!
</div>